|
hallcurrent5 2.2.0
|
Functions | |
| void | hallcurrent5_cfg_setup (hallcurrent5_cfg_t *cfg) |
| Config Object Initialization function. | |
| HALLCURRENT5_RETVAL | hallcurrent5_init (hallcurrent5_t *ctx, hallcurrent5_cfg_t *cfg) |
| Initialization function. | |
| hallcurrent5_data_t | hallcurrent5_generic_read (hallcurrent5_t *ctx) |
| Generic read function. | |
| float | hallcurrent5_generic_read_voltage (hallcurrent5_t *ctx) |
| Generic function for read voltage. | |
| float | hallcurrent5_get_current (hallcurrent5_t *ctx) |
| Get ADC current value function. | |
| uint8_t | hallcurrent5_get_fault (hallcurrent5_t *ctx) |
| Get ADC fault function. | |
| void | hallcurrent5_set_init_voltage (hallcurrent5_t *ctx, uint16_t voltage) |
| Get ADC current value function. | |
| void hallcurrent5_cfg_setup | ( | hallcurrent5_cfg_t * | cfg | ) |
Config Object Initialization function.
| cfg | Click configuration structure. |
@description This function initializes Click configuration structure to init state.
| hallcurrent5_data_t hallcurrent5_generic_read | ( | hallcurrent5_t * | ctx | ) |
Generic read function.
| ctx | Click object. |
@description This function read ADC data.
| float hallcurrent5_generic_read_voltage | ( | hallcurrent5_t * | ctx | ) |
Generic function for read voltage.
| ctx | Click object. |
@description This function read voltage value.
| float hallcurrent5_get_current | ( | hallcurrent5_t * | ctx | ) |
Get ADC current value function.
| ctx | Click object. |
@description This function gets ADC current value.
| uint8_t hallcurrent5_get_fault | ( | hallcurrent5_t * | ctx | ) |
Get ADC fault function.
| ctx | Click object. |
@description This function gets fault.
| HALLCURRENT5_RETVAL hallcurrent5_init | ( | hallcurrent5_t * | ctx, |
| hallcurrent5_cfg_t * | cfg ) |
Initialization function.
| ctx | Click object. |
| cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this Click.
| void hallcurrent5_set_init_voltage | ( | hallcurrent5_t * | ctx, |
| uint16_t | voltage ) |
Get ADC current value function.
| ctx | Click object. |
| voltage | Voltage |
@description This function gets ADC value.